package com.itheima.dao;

import com.itheima.pojo.Order;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.Map;

public interface OrderDao {

    Order findByMemberIdAndDateAndSetMealId(@Param("id") Integer id, @Param("orderDate") Date orderDate, @Param("setmealId") Integer setmealId);

    void save(Order newOrder);

    Map findById(Integer id);
}
